package com;

import com.config.AuthorizationMethodInterceptorConfig;
import com.config.AuthorizationServerConfig;
import com.config.WebServerConfig;
import org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator;
import org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext;
import com.controller.UserInfoController;


public class Application {

    public static void main(String[] args) {
        AnnotationConfigServletWebServerApplicationContext context = new AnnotationConfigServletWebServerApplicationContext(
                AuthorizationServerConfig.class,
                WebServerConfig.class,
                UserInfoController.class,
                AnnotationAwareAspectJAutoProxyCreator.class,
                AuthorizationMethodInterceptorConfig.class
        );
    }
}
